package com.sqx.modules.trendsComment.vo;

import com.sqx.modules.trendsComment.entity.TrendsComment;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class TrendsCommentVo extends TrendsComment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评论人昵称
     */
    @ApiModelProperty("评论人昵称")
    private String userName;
    /**
     * 评论人头像
     */
    @ApiModelProperty("评论人头像")
    private String avatar;

    /**
     * 被评论人昵称
     */
    @ApiModelProperty("评论人昵称")
    private String byUserName;
    /**
     * 被评论人头像
     */
    @ApiModelProperty("评论人头像")
    private String byAvatar;


    /**
     * 点赞数
     */
    @ApiModelProperty("点赞数")
    private int likeCount;
    /**
     * 是否已点赞 0否 1是
     */
    @ApiModelProperty("是否已点赞 0否 1是")
    private int isLike;

    /**
     * 被回复的评论列表
     */
    private List<TrendsCommentVo> commentList;
}
